<el-dialog title="添加离职信息" v-model="employeeQuitFormDialog" @open="beforeSetEmployeeQuit" @open="afterSetEmployeeQuit">
<!-- <el-form :model="form"> -->
<el-form :label-width="dialogLabelWidth" :rules="employeeQuitRules"  ref="employeeQuitForm" :model="employeeQuitForm" >
      <el-row>
            <el-col :span="12">
              <el-form-item prop="quit_date" label="离职日期">
                  <el-date-picker  v-model="employeeQuitForm.quit_date" placeholder="请选择日期" @change="quitDateChange"  >
                  </el-date-picker>
              </el-form-item>
            </el-col>
        </el-row>
</el-form>
<div slot="footer" class="dialog-footer">
  <el-button @click="closeDialog('employeeQuit')">取 消</el-button>
  <el-button type="primary" v-show="!employeeQuitFormSubmitStatus" @click="employeeQuitFormSubmit(page.setEmployeeQuitUrl, 'employeeQuit')" >确 定</el-button>
  <el-button type="primary" v-show="employeeQuitFormSubmitStatus" :loading="true" >修改中</el-button>
</div>
</el-dialog>